home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •The Arcade• / Sword Play ••• / Sword Play еее / card_2951.txt < prev    next >
Text File  |  1990-10-02  |  2KB  |  112 lines

  1. -- card: 2951 from stack: in
  2. -- bmap block id: 5817
  3. -- flags: 4000
  4. -- background id: 2143
  5. -- name: Player Status
  6. ----- HyperTalk script -----
  7. on idle
  8.   global StartTime
  9.   global SetPass
  10.   global MissedAttack
  11.  
  12.   if (the seconds >= 10 + StartTime) and (not SetPass) then
  13.     put true into MissedAttack
  14.     go card "Figure Attack"
  15.   end if
  16. end idle
  17.  
  18. on openCard
  19.   global StartTime
  20.   global GoneStatus
  21.   global YourHP
  22.  
  23.   if Not GoneStatus then
  24.     put the seconds into StartTime
  25.   end if
  26.   put false into GoneStatus
  27.  
  28.   put "Health:  " & YourHP into card field "Health Status"
  29. end openCard
  30.  
  31.  
  32.  
  33. -- part 1 (button)
  34. -- low flags: 00
  35. -- high flags: 0000
  36. -- rect: left=189 top=277 right=327 bottom=303
  37. -- title width / last selected line: 0
  38. -- icon id / first selected line: 0 / 0
  39. -- text alignment: 1
  40. -- font id: 0
  41. -- text size: 12
  42. -- style flags: 0
  43. -- line height: 16
  44. -- part name: 
  45. ----- HyperTalk script -----
  46. on mouseUp
  47.   global GoneStatus
  48.   put true into GoneStatus
  49.   go card "Off/Def"
  50. end mouseUp
  51.  
  52.  
  53.  
  54. -- part 2 (button)
  55. -- low flags: 00
  56. -- high flags: 0000
  57. -- rect: left=82 top=289 right=332 bottom=144
  58. -- title width / last selected line: 0
  59. -- icon id / first selected line: 0 / 0
  60. -- text alignment: 1
  61. -- font id: 0
  62. -- text size: 12
  63. -- style flags: 0
  64. -- line height: 16
  65. -- part name: 
  66. ----- HyperTalk script -----
  67. on mouseUp
  68.   push this card
  69.   visual effect iris open slowly
  70.   go to card "Sword Play Help Index"
  71. end mouseUp
  72.  
  73.  
  74.  
  75. -- part 3 (button)
  76. -- low flags: 00
  77. -- high flags: 0000
  78. -- rect: left=346 top=289 right=332 bottom=412
  79. -- title width / last selected line: 0
  80. -- icon id / first selected line: 0 / 0
  81. -- text alignment: 1
  82. -- font id: 0
  83. -- text size: 12
  84. -- style flags: 0
  85. -- line height: 16
  86. -- part name: 
  87. ----- HyperTalk script -----
  88. on mouseUp
  89.   push this card
  90.   visual effect iris open slowly
  91.   go to card "Status Help Start"
  92. end mouseUp
  93.  
  94.  
  95.  
  96. -- part 4 (field)
  97. -- low flags: 01
  98. -- high flags: 0000
  99. -- rect: left=109 top=81 right=98 bottom=231
  100. -- title width / last selected line: 0
  101. -- icon id / first selected line: 0 / 0
  102. -- text alignment: 0
  103. -- font id: 5
  104. -- text size: 14
  105. -- style flags: 0
  106. -- line height: 18
  107. -- part name: Health Status
  108.  
  109.  
  110. -- part contents for card part 4
  111. ----- text -----
  112. Health:  85